﻿using System;
using System.Collections.Generic;
using System.Text;

namespace bank
{
    class BadCashException :ApplicationException
    {
        private int code;
        public BadCashException(String message,int code):base(message)
        {
            this.code = code;
        }
        public int Code
        {
            get=>code;
        }
    }
}
